package by.pavlyukevich.paymentsystem.dataaccess.filter;

import by.pavlyukevich.paymentsystem.datamodel.Account;
import by.pavlyukevich.paymentsystem.datamodel.card.Card;
import by.pavlyukevich.paymentsystem.datamodel.user.UserAccount;

public class CardFilter extends Filter<Card> {
	private Account account;
	private UserAccount userAccount;
	private Card card;
	private UserAccount accountOwner;

	public Account getAccount() {
		return account;
	}

	public CardFilter setAccount(Account account) {
		this.account = account;
		return this;
	}

	public UserAccount getUserAccount() {
		return userAccount;
	}

	public CardFilter setUserAccount(UserAccount userAccount) {
		this.userAccount = userAccount;
		return this;
	}

	public Card getCard() {
		return card;
	}

	public CardFilter setCard(Card card) {
		this.card = card;
		return this;
	}

	public UserAccount getAccountOwner() {
		return accountOwner;
	}

	public CardFilter setAccountOwner(UserAccount accountOwner) {
		this.accountOwner = accountOwner;
		return this;
	}
}
